<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>LaravelOpenWechat | @yield('title')</title>
    <!-- bootstrap -->
    <link href="{{ asset('/vendor/AdminInspinia/css/bootstrap.min.css') }}" rel="stylesheet">
    <!-- Font -->
    <link href="{{ asset('/vendor/AdminInspinia/font-awesome/css/font-awesome.min.css') }}" rel="stylesheet">
    <!-- AdminInspinia -->
    <link href="{{ asset('/vendor/AdminInspinia/css/animate.css') }}" rel="stylesheet">
    <link href="{{ asset('/vendor/AdminInspinia/css/style.css') }}" rel="stylesheet">
    @stack('morecss')
</head>

<body class="gray-bg">
<div class="middle-box text-center animated fadeInDown">
    <h1>@yield('code')</h1>
    <h3 class="font-bold"><h2>@yield('title')</h2></h3>

    <div class="error-desc">
        @yield('message')
    </div>
</div>
<!-- Mainly scripts -->
<script src="{{ asset('/vendor/jquery/jquery.min.js') }}"></script>
<script src="{{ asset('/vendor/AdminInspinia/js/bootstrap.min.js') }}"></script>
<script type="application/javascript">
    function go() {
        //window.history.go(-1);
        window.location.href = '{{ route('admin.index.index') }}';
    }
    setTimeout("go()", 3000);
</script>
@stack('morescript')
</body>

</html>
